package 分支;
import java.util.Scanner;
public class 购买钢管 {
    public static void main(String[] args) {
    Scanner input=new Scanner(System.in);
    System.out.print("请输入您购买多长的钢管：");
    int metre=input.nextInt();
    if (metre%3==0){
        metre=metre/3;
    }else{
        metre=metre/3+1;
    }
        System.out.println("您需要购买："+metre);
}
}
